package com.yoda.vo;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class AllDataVo {
    private Integer id;

    @ApiModelProperty("配置配置键名英文")
    private String attrKey;

    @ApiModelProperty("配置值内容")
    private String attrValue;

    @ApiModelProperty("字段类型，参见字段表")
    private Integer type;

    @ApiModelProperty("单选多选数据值")
    private String configValue;

    @ApiModelProperty("验证规则	")
    private String validator;
}
